<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Namespace: SPE</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">Namespace: SPE</h1>

    




<section>

<header>
    
        <h2>
        SPE
        </h2>
        
    
</header>

<article>
    <div class="container-overview">
    
        
            <div class="description">Namespace for Shader Particle Engine.

All SPE-related code sits under this namespace.</div>
        

        


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="SPE.js.html">SPE.js</a>, <a href="SPE.js.html#line16">line 16</a>
    </li></ul></dd>
    

    

    

    
</dl>


        
    
    </div>

    

    

    
        <h3 class="subsection-title">Classes</h3>

        <dl>
            <dt><a href="SPE.Emitter.html">Emitter</a></dt>
            <dd></dd>
        
            <dt><a href="SPE.Group.html">Group</a></dt>
            <dd></dd>
        
            <dt><a href="SPE.ShaderAttribute.html">ShaderAttribute</a></dt>
            <dd></dd>
        
            <dt><a href="SPE.TypedArrayHelper.html">TypedArrayHelper</a></dt>
            <dd></dd>
        </dl>
    

     

    
        <h3 class="subsection-title">Namespaces</h3>

        <dl>
            <dt><a href="SPE.utils.html">utils</a></dt>
            <dd></dd>
        </dl>
    

    
        <h3 class="subsection-title">Members</h3>

        
            
<h4 class="name" id=".distributions"><span class="type-signature">(static) </span>distributions<span class="type-signature"> :Number</span></h4>




<div class="description">
    A map of supported distribution types used
by SPE.Emitter instances.

These distribution types can be applied to
an emitter globally, which will affect the
`position`, `velocity`, and `acceleration`
value calculations for an emitter, or they
can be applied on a per-property basis.
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Number</span>


        </li>
    </ul>





    <h5 class="subsection-title">Properties:</h5>

    

<table class="props">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>BOX</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            

            <td class="description last">Values will be distributed within a box.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>SPHERE</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            

            <td class="description last">Values will be distributed on a sphere.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>DISC</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            

            <td class="description last">Values will be distributed on a 2d-disc shape.</td>
        </tr>

    
    </tbody>
</table>




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="SPE.js.html">SPE.js</a>, <a href="SPE.js.html#line30">line 30</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id=".valueOverLifetimeLength"><span class="type-signature">(static) </span>valueOverLifetimeLength<span class="type-signature"> :Number</span></h4>




<div class="description">
    Set this value to however many 'steps' you
want value-over-lifetime properties to have.

It's adjustable to fix an interpolation problem:

Assuming you specify an opacity value as [0, 1, 0]
     and the `valueOverLifetimeLength` is 4, then the
     opacity value array will be reinterpolated to
     be [0, 0.66, 0.66, 0].
  This isn't ideal, as particles would never reach
  full opacity.

NOTE:
    This property affects the length of ALL
      value-over-lifetime properties for ALL
      emitters and ALL groups.

    Only values >= 3 && <= 4 are allowed.
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Number</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="SPE.js.html">SPE.js</a>, <a href="SPE.js.html#line73">line 73</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
    

    

    

    
</article>

</section>




</div>

<nav>
    <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="SPE.Emitter.html">Emitter</a></li><li><a href="SPE.Group.html">Group</a></li><li><a href="SPE.ShaderAttribute.html">ShaderAttribute</a></li><li><a href="SPE.TypedArrayHelper.html">TypedArrayHelper</a></li></ul><h3>Namespaces</h3><ul><li><a href="SPE.html">SPE</a></li><li><a href="SPE.utils.html">utils</a></li></ul><h3><a href="global.html">Global</a></h3>
</nav>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.3</a> on Sat Nov 14 2015 15:30:50 GMT+0000 (GMT)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>